package mdm.led.entity.four;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 *
 * @author :Monarch丿He
 * @date :2018年11月15日
 * @explain :
 */
public class FourInspectorRequest {

	// 督查表 ID
	private Integer inspectorId;
	// 督查表名
	private String tableName;
	// 截止日期
	@JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
	private Date endTime;
	// 填表对象 (1,2,3)
	private List<String> objects;
	// 表状态 (1:有效 2:无效)
	private String status;
	// 督查表项目
	private List<FourItem> fourItems;

	
	public Integer getInspectorId() {
		return inspectorId;
	}

	public void setInspectorId(Integer inspectorId) {
		this.inspectorId = inspectorId;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public List<String> getObjects() {
		return objects;
	}

	public void setObjects(List<String> objects) {
		this.objects = objects;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		status = (Integer.valueOf(status) == 1) ? (status = "有效") : (status = "无效");
		this.status = status;
	}

	public List<FourItem> getFourItems() {
		return fourItems;
	}

	public void setFourItems(List<FourItem> fourItems) {
		this.fourItems = fourItems;
	}

}
